<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>长春市公共信息服务平台</title>
    <link rel="Shortcut Icon" href="./image/mjg/changchun.png">
    <link rel="stylesheet" href="./css/mjg-css/cchundtie.css" />
</head>

<body class="body1">
    <div class="div-1">
        <ul>
            <a href="./index.html">
                <img class="div-1-a" src="./image/mjg/changchun.png">
            </a>
            <a href="./index.html">
                <img class="div-1-a-1" src="./image/mjg/xinxifuwu.png">
            </a>
        </ul>

        <ul class="div-1-div">
            <li class="div-1-div-1">
                <a>
                    1号线
                </a>
            </li>
            <li class="div-1-div-1">
                <a>
                    2号线
                </a>
            </li>
            <li class="div-1-div-1">
                <a>
                    3号线
                </a>
            </li>
            <li class="div-1-div-1">
                <a>
                    4号线
                </a>
            </li>
            <li class="div-1-div-1">
                <a>
                    8号线
                </a>
            </li>
        </ul>
        
        <ul>
            <a class="div-1-div2" href="./index.html">
                <img src="./image/mjg/fanhui.png" style="width: 35px">
            </a>
            <a class="div-1-div2-1" href="./index.html">
                返回地图
            </a>
        </ul>
    </div>
    <div class="div-2"></div>
    <div id="map" class="map-2"></div>
    <!-- <script type="text/javascript" src="../../dist/include-leaflet.js"></script> -->
    <script type="text/javascript" src="../dist/include-leaflet.js"></script>
    <script type="text/javascript">
        var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
        var map, url = host + "/iserver/services/map-changchun/rest/maps/长春市区图";
        map = L.map('map', {
            crs: L.CRS.NonEarthCRS({
                bounds: L.bounds([48.4, -7668.25], [8958.85, -55.58]),
                origin: L.point(48.4, -55.58)
            }),
            center: [-4500, 4000],
            maxZoom: 18,
            zoom: 2
        });
        L.supermap.tiledMapLayer(url, {
            noWrap: true
        }).addTo(map);
    </script>
</body>

</html>